package com.itheima.stock.test;

import com.itheima.stock.utils.DateTimeUtil;
import org.joda.time.DateTime;
import org.junit.jupiter.api.Test;

public class test {
    @Test
    public void test01(){
        String lastAvDate = DateTimeUtil.getLastDateString4Stock(DateTime.now());
        String x = lastAvDate.substring(0,8);
        System.out.println("x = " + x);
        String a = "1459";
        System.out.println("a = " + a);
        String z = x+a;
        System.out.println("z = " + z);
        Long i  = Long.parseLong(lastAvDate);
        System.out.println("i = " + i);
        Long c = Long.parseLong(z);
        System.out.println("c = " + c);
        System.out.println(i>c);

    }
}
